﻿#pragma once

#include <string>
#include "../../stringhelper.h"

using namespace Server::MirEnvir;

namespace Server::MirDatabase
{
    class MovementInfo
    {
    public:
        int MapIndex = 0;
        Point *Source, *Destination;
        bool NeedHole = false, NeedMove = false;
        int ConquestIndex = 0;

        virtual ~MovementInfo()
        {
            delete Source;
            delete Destination;
        }

        MovementInfo();

        MovementInfo(BinaryReader *reader);
        void Save(BinaryWriter *writer);


        std::string ToString();
    };
}
